package echat.future.cn.echat.message.bean;

import android.text.TextUtils;

/**
 * Created by JX on 2018/8/13.
 */

public class AppointmentBean {

    /**
     * appoint_id : 1
     * member_id : 3
     * user_role : 3
     * avatar : http://img4.imgtn.bdimg.com/it/u=4099656746,186489158&fm=15&gp=0.jpg
     * level : 1
     * username : xhq
     * appointment_time : 1537353501
     * theme : 唱首歌
     * duration : 11
     */

    private int appoint_id;
    private int member_id;
    private int user_role;
    private String avatar;
    private String level;
    private String username;
    private long appointment_time;
    private String theme;
    private int duration;
    private String mobile;
    private int price;

    public int getAppoint_id() {
        return appoint_id;
    }

    public void setAppoint_id(int appoint_id) {
        this.appoint_id = appoint_id;
    }

    public int getMember_id() {
        return member_id;
    }

    public void setMember_id(int member_id) {
        this.member_id = member_id;
    }

    public int getUser_role() {
        return user_role;
    }

    public void setUser_role(int user_role) {
        this.user_role = user_role;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getLevel() {
        if(TextUtils.isEmpty(level))
            return "0";
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public long getAppointment_time() {
        return appointment_time;
    }

    public void setAppointment_time(long appointment_time) {
        this.appointment_time = appointment_time;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
